package io.qar.orders.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-11
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class OrdersExcel {
    @ExcelProperty(value = "订单状态", index = 0)
    private Object statusDescription;
    @ExcelProperty(value = "用户ID", index = 1)
    private Long userId;
    @ExcelProperty(value = "配送地址", index = 2)
    private String deliveryAddress;
    @ExcelProperty(value = "下单时间", index = 3)
    private Date orderTime;
    @ExcelProperty(value = "支付完成时间", index = 4)
    private Date checkoutTime;
    @ExcelProperty(value = "支付方式", index = 5)
    private Object payMethod;
    @ExcelProperty(value = "支付状态", index = 6)
    private Object payStatus;
    @ExcelProperty(value = "订单金额", index = 7)
    private BigDecimal amount;
    @ExcelProperty(value = "订单备注", index = 8)
    private String remark;
    @ExcelProperty(value = "预计送达时间", index = 9)
    private Date deliveryTime;
}